package com.example.applets;


import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@MapperScan("com.example.applets.mapper")
@Configuration
public class MyBatisPlusConfig {
    @Bean
    //分页插件
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();

    }
}
